package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Getter
public enum InsureEnum implements IBaseEnum<Integer> {

    /**
     * 保险 0.无要求 1.缴纳满一年 2.缴纳未满一年 3.无保单
     */
    NO_REQUIRED(0, "无要求",false),
    ABOVE1YEAR(1, "缴纳满一年",true),
    ABOVE_NO1YEAR(2, "缴纳未满一年",false),
    NO_INSURE(3, "无保单",false);;

    private final Integer value;

    private final String label;

    private final Boolean excellent;
    InsureEnum(Integer value, String label,Boolean excellent) {
        this.value = value;
        this.label = label;
        this.excellent = excellent;
    }
}
